package com.hc.sort.server.pojo;

import java.io.Serializable;

public class BusinessType implements Serializable {
	private int id;
	private String code;
	private String name;
	private int limitCount;
	private String desc;
	
	public BusinessType(String code, String name, int limitCount, String desc) {
		this.code=code;
		this.name=name;
		this.limitCount=limitCount;
		this.desc=desc;
	}

	public BusinessType() {

	}

	public BusinessType(String code, String name, int limitCount, String desc, int id) {
		this.code=code;
		this.name=name;
		this.limitCount=limitCount;
		this.desc=desc;
		this.id=id;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public int getLimitCount() {
		return limitCount;
	}
	
	public void setLimitCount(int limitCount) {
		this.limitCount = limitCount;
	}
	
	public String getDesc() {
		return desc;
	}
	
	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Override
	public String toString() {
		return "BusinessType [id=" + id + ", code=" + code + ", name=" + name + 
				", limitCount=" + limitCount + ", desc="+ desc + "]";
	}
}
